<include file="Public:header" />
<div class="container clearfix">
    <include file="Public:sidebar" />
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="">作品管理</a><span class="crumb-step">&gt;</span><span>新增作品</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="<!--{:U('libao/post')}-->" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody><tr>
                                <th width="120"><i class="require-red">*</i>游戏名：</th>
                                <td><input type='text' name='gamename' id="gamename" value='<!--{$game.gamename}-->' readonly='readonly' class="common-text"/></td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>礼包名：</th>
                                <td>
                                    <input class="common-text required" id="chname" name="chname" value="" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>礼包tag：</th>
                                <td><input class="common-text" name="tag" value="" id='tag' type="text"></td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>是否为通服：</th>
                                <td>
                                    是：<input type="radio" name="general" value="t" checked="checked">&nbsp;&nbsp;&nbsp;&nbsp;
                                    否：<input type="radio" name="general" value="f">
                                </td>
                            </tr>
                            <tr>
                                <th>是否为接口：</th>
                                <td>
                                    是：<input type="radio" name="port" value="t" checked="checked">&nbsp;&nbsp;&nbsp;&nbsp;
                                    否：<input type="radio" name="port" value="f">
                                </td>
                            </tr>
                            <tr>
                                <th>礼包详情：</th>
                                <td>
                                    <script type="text/plain" id="myEditor" name="details" style="width:800px;height:240px;">                                       
                                    </script>
                                </td>
                            </tr>
                            <tr>
                                <th>使用方法：</th>
                                <td>
                                    <script type="text/plain" id="myEditor1" name="operation" style="width:800px;height:240px;">                                       
                                    </script>
                                </td>
                            </tr>
                            <tr>
                                <th></th>
                                <td>
                                    <input type="hidden" name="game_id" value='<!--{$game_id}-->'/>
                                    <input type='hidden' name="enname" value='<!--{$game.enname}-->'/>
                                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->
</div>
<script type="text/javascript">
    var um = UM.getEditor('myEditor');
    var um = UM.getEditor('myEditor1');
</script>
</body>
</html>